<template>
  <div class="item">
    <h3>{{ item.title }}</h3>
    <p>{{ item.content }}</p>
    <button>点赞</button>
  </div>
</template>

<script>
export default {
  props: ["item"],
};
</script>

<style scoped>
.item {
  width: 345px;
  height: 100px;
  border: 1px solid #000;
  margin: 15px;
}
</style>
